package com.wn.mvc.controller;

import com.wn.bean.User;
import com.wn.mvc.service.UserServiceImpl;

/**
 * @author yellow Docter
 * @date 2022 -07-06
 * @desc
 */
public class UserController {

    private UserServiceImpl userService;

    public void setUserService(UserServiceImpl userService) {
        this.userService = userService;
    }

    public void save(User user){
        System.out.println("UserController.save" + user);
        userService.save(user);
    }

}
